﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SupermarketManager.Model
{
    class HangHoa
    {
        private string maHH;
        private string tenHH;
        private float donGia;
        private string donViTinh;
        private int soLuong;
        private string nhaSX;

        public string MaHH
        {
            get { return maHH; }
            set { maHH = value; }
        }
        public string TenHH
        {
            get { return tenHH; }
            set { tenHH = value; }
        }
        public float DonGia
        {
            get { return donGia; }
            set { donGia = value; }
        }
        public string DonViTinh
        {
            get { return donViTinh; }
            set { donViTinh = value; }
        }
        public int SoLuong
        {
            get { return soLuong; }
            set { soLuong = value; }
        }
        public string NhaSX
        {
            get { return nhaSX; }
            set { nhaSX = value; }
        }

        public HangHoa(string maHH, string tenHH, float donGia, string donViTinh, int soLuong, string nhaSX)
        {
            this.MaHH = maHH;
            this.TenHH = tenHH;
            this.DonGia = donGia;
            this.DonViTinh = donViTinh;
            this.SoLuong = soLuong;
            this.NhaSX = nhaSX;
        }
    }
}
